import { createSSRApp } from "vue";
import App from "./App.vue";
import uviewPlus from 'uview-plus'
import { initRequest } from "@/utils/request/index";
import pinia from '@/stores'
import 'uno.css'

export function createApp() {
  const app = createSSRApp(App);
  // 引入请求封装
  initRequest(app);
  app.use(pinia);
  app.use(uviewPlus);
  return {
    app,
  };
}
